package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 供应商产品关联表 sys_supplier_product
 * 用于存放供应商和产品的关系
 */
public class SysSupplierProduct {

    // 供应商id
    private Long supplierId;
    // 供应商名称
    private String supplierName;
    // 产品id
    private Long proId;
    // 产品名称
    private String proName;
    //供应商生产该产品的产能
    private Integer dailyProduction;

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Integer getDailyProduction() {
        return dailyProduction;
    }

    public void setDailyProduction(Integer dailyProduction) {
        this.dailyProduction = dailyProduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("supplierId", getSupplierId())
                .append("supplierName", getSupplierName())
                .append("proId", getProId())
                .append("proName", getProName())
                .append("dailyProduction", getDailyProduction())
                .toString();
    }
}
